$OpenBSD: patch-src_ifo_read_c,v 1.3 2016/03/15 20:51:11 kili Exp $

Fix write after free.

From git commit 4e269e52103a0422a3954ecc2f1901dec5fb4f0d (Petri
Hintukainen)

--- src/ifo_read.c.orig	Wed Jan 21 17:22:42 2015
+++ src/ifo_read.c	Tue Mar 15 20:06:08 2016
@@ -1118,8 +1118,8 @@ void ifoFree_TT_SRPT(ifo_handle_t *ifofile) {
 
   if(ifofile->tt_srpt) {
     free(ifofile->tt_srpt->title);
-    free(ifofile->tt_srpt);
     ifofile->tt_srpt->title = NULL;
+    free(ifofile->tt_srpt);
     ifofile->tt_srpt = NULL;
   }
 }
